<h1 style="color:#FF3300;"><?php echo $restaurant['name']." - ".$restaurant['provide'] ?></h1><div id="box">
  <form action="<?php echo base_url();?>admin/restaurantbanner/<?php if(isset($_GET['id'])) echo "update?restaurantid=".$_GET['restaurantid']."&id=".$data['id'];else echo "insert?restaurantid=".$_GET['restaurantid'];?>" method="post" enctype="multipart/form-data">
    <fieldset id="person">
      <legend>&nbsp;&nbsp;<?php if(isset($_GET['id'])) echo "Edit "; else echo "Insert ";?> Restaurant's Banner&nbsp;&nbsp;</legend>
      <label>ID : </label>
      <?php echo $data['id'] ?><br>
      <label>Banner'avatar : </label>
      <input name="fuavatar" id="fuavatar" type="file" tabindex="2" /><img src="<?php echo base_url().'uploads/restaurantbanner/'. $data["avatar"];?>" width="200"/>
      <br>
      <label>Status : </label>
      <select name="status" style="margin-left:0;">
        <option value="0">Choice Status</option>
        <option value="1" <?php if($data['status']==1) echo "selected";?>>Highlights</option>
        <option value="2" <?php if($data['status']==2) echo "selected";?>>Normal</option>
        <option value="3" <?php if($data['status']==3) echo "selected";?>>Hidden</option>
      </select>
      <br>
      <div style="float:left;padding-top:5px;padding-left:40%;">
        <input type="reset" value="Reset">
        &nbsp;&nbsp;&nbsp;&nbsp;
        <input type="submit" name="ok" value="Submit">
      </div>
    </fieldset>
  </form>
</div>
